package com.boyunvision.entity.responsresult;

import com.boyunvision.entity.responsresult.IseRestfulBaseJson;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.imgdb.rawTcp.model.ImgRecord;
import java.util.List;

public class ImageResultJson extends IseRestfulBaseJson {
  @JsonProperty("rec_ct")
  private int recct;
  
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  @JsonProperty("record")
  private List<ImgRecord> imgRecord;
  
  public ImageResultJson() {}
  
  public ImageResultJson(int recct, List<ImgRecord> imgRecord) {
    this.recct = recct;
    this.imgRecord = imgRecord;
  }
  
  public int getRecct() {
    return this.recct;
  }
  
  public void setRecct(int recct) {
    this.recct = recct;
  }
  
  public List<ImgRecord> getImgRecord() {
    return this.imgRecord;
  }
  
  public void setImgRecord(List<ImgRecord> imgRecord) {
    this.imgRecord = imgRecord;
  }
}
